footer.init();
header.init("微学院");

window.onload = function(){
	
	setTimeout(function(){
		var myswiper1 = new Swiper('.swiper-container', {
	      autoplay: 3000,
	      pagination:'.swiper-pagination',
	      paginationClickable: true,
	      autoplayDisableOnInteraction : false,
	   	  loop:true
	 	});
	},1000);
	
	$('body').on('click','.classroom-desc',function(){//正品综述
		app.open('classroom.desc.html','class_desc',{},window.location.href,document.body.scrollTop);
	});
	
	$('body').on('click','.class-list',function(){//课堂
		app.open('classroom.articleList.html','class_list',{id : 23},window.location.href,document.body.scrollTop);
	});
	
	$('body').on('click','.class-progress',function(){//课堂
		app.open('classroom.articleList.html','class_list',{id:24},window.location.href,document.body.scrollTop);
	});
	
	$('body').on('click','.class-acti',function(){//活动
		app.open('classroom.articleList.html','class_list',{id:25},window.location.href,document.body.scrollTop);
	});
	
	$('body').on('click','.class-ques',function(){
		app.open('classroom.question.html','class_ques',{id:26},window.location.href,document.body.scrollTop);
	});
	
	$('body').on('click','.class-abou',function(){
		app.open('aboutus.html','class_abou',{},window.location.href,document.body.scrollTop);
	});
};
